MapReportOrBuilder

interface MapReportOrBuilder : MessageOrBuilder

Inheritors

Functions

Link copied to clipboard
abstract fun getAltitude(): Int

Altitude in meters above MSL
int32 altitude = 11;
Link copied to clipboard
abstract fun getFirmwareVersion(): String

Device firmware version string
string firmware_version = 5;
Link copied to clipboard
abstract fun getFirmwareVersionBytes(): ByteString

Device firmware version string
string firmware_version = 5;
Link copied to clipboard

Whether the node has a channel with default PSK and name (LongFast, MediumSlow, etc...)
and it uses the default frequency slot given the region and modem preset.
bool has_default_channel = 8;
Link copied to clipboard

User has opted in to share their location (map report) with the mqtt server
Controlled by map_report.should_report_location
bool has_opted_report_location = 14;
Link copied to clipboard

Hardware model of the node, i.e. T-Beam, Heltec V3, etc...
.meshtastic.HardwareModel hw_model = 4;
Link copied to clipboard
abstract fun getHwModelValue(): Int

Hardware model of the node, i.e. T-Beam, Heltec V3, etc...
.meshtastic.HardwareModel hw_model = 4;
Link copied to clipboard
abstract fun getLatitudeI(): Int

Latitude: multiply by 1e-7 to get degrees in floating point
sfixed32 latitude_i = 9;
Link copied to clipboard
abstract fun getLongitudeI(): Int

Longitude: multiply by 1e-7 to get degrees in floating point
sfixed32 longitude_i = 10;
Link copied to clipboard
abstract fun getLongName(): String

A full name for this user, i.e. "Kevin Hester"
string long_name = 1;
Link copied to clipboard
abstract fun getLongNameBytes(): ByteString

A full name for this user, i.e. "Kevin Hester"
string long_name = 1;
Link copied to clipboard

Modem preset used by the radio (LongFast, MediumSlow, etc...)
.meshtastic.Config.LoRaConfig.ModemPreset modem_preset = 7;
Link copied to clipboard
abstract fun getModemPresetValue(): Int

Modem preset used by the radio (LongFast, MediumSlow, etc...)
.meshtastic.Config.LoRaConfig.ModemPreset modem_preset = 7;
Link copied to clipboard
abstract fun getNumOnlineLocalNodes(): Int

Number of online nodes (heard in the last 2 hours) this node has in its list that were received locally (not via MQTT)
uint32 num_online_local_nodes = 13;
Link copied to clipboard
abstract fun getPositionPrecision(): Int

Indicates the bits of precision for latitude and longitude set by the sending node
uint32 position_precision = 12;
Link copied to clipboard

The region code for the radio (US, CN, EU433, etc...)
.meshtastic.Config.LoRaConfig.RegionCode region = 6;
Link copied to clipboard
abstract fun getRegionValue(): Int

The region code for the radio (US, CN, EU433, etc...)
.meshtastic.Config.LoRaConfig.RegionCode region = 6;
Link copied to clipboard

Role of the node that applies specific settings for a particular use-case
.meshtastic.Config.DeviceConfig.Role role = 3;
Link copied to clipboard
abstract fun getRoleValue(): Int

Role of the node that applies specific settings for a particular use-case
.meshtastic.Config.DeviceConfig.Role role = 3;
Link copied to clipboard
abstract fun getShortName(): String

A VERY short name, ideally two characters.
Suitable for a tiny OLED screen
string short_name = 2;
Link copied to clipboard
abstract fun getShortNameBytes(): ByteString

A VERY short name, ideally two characters.
Suitable for a tiny OLED screen
string short_name = 2;